﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AvansRS.Domain;
using StructureMap;
using AvansRS.Domain.DataInterface;

namespace AvansRS.Data.InsertBuilders
{
    class InsertAcademy : Insert<Academy>
    {
        public InsertAcademy()
            : base(new Academy())
        {

        }

        public InsertAcademy WithName(string name)
        {
            Instance.Name = name;
            return this;
        }

        public InsertAcademy WithStudies(IList<Study> studies)
        {
            Instance.Study = studies;
            return this;
        }
    }
}
